<?php $this->widget('zii.widgets.grid.CGridView', array(
    'id'=>'invoice-status-history-grid',
    'dataProvider'=> $data,
    'summaryCssClass' => 'gridViewSummary',
    'template' => "{summary}\n{items}",
    'htmlOptions' => array(),
    'columns'=>array(
        array(
            'name'=>'statusTimestamp',
            'type'=>'raw',
            'value'=>'CHtml::encode(Yii::app()->dateFormatter->formatDateTime($data->statusTimestamp,\'medium\',\'medium\'))'
        ),
        array(
            'name'=>'status',
            'type'=>'raw',
            'value'=>'CHtml::encode($data->statusLabel)'
        ),
    )
)); ?>
